home *** CD-ROM | disk | FTP | other *** search
/ MACD 5 / MACD 5.bin / workbench / tools / czesc_1 / easyprocess / source / launch / freepplist.c < prev    next >
C/C++ Source or Header  |  1992-09-07  |  504b  |  34 lines

  1. #include <arpbase.h>
  2. #include <arp_proto.h>
  3. #include "Launch.h"
  4. #include "LaunchPriv.h"
  5.  
  6.  
  7. /*
  8.  *    NAME
  9.  *        FreeProcPairList -- check if the list is empty and free it.
  10.  *
  11.  *    SYNOPSIS
  12.  *        FreeProcPairList ()
  13.  *
  14.  *        void FreeProcPairList (void);
  15.  *
  16.  *    INPUT
  17.  *        None.
  18.  *
  19.  *    OUTPUT
  20.  *        None.
  21.  *
  22.  *    HISTORY
  23.  *        1992/09/06    Pierre Baillargeon        Creation
  24.  */
  25.  
  26. void FreeProcPairList (void)
  27. {
  28.     if (NULL == ProcPairList->lh_Head->ln_Succ)
  29.     {
  30.         FreeMem (ProcPairList, sizeof (struct List));
  31.         ProcPairList = NULL;
  32.     }
  33. }
  34.